package com.lsyw.intergrate.serviceImpl;

import com.lsyw.intergrate.entity.Massif;
import com.lsyw.intergrate.entity.MassifPlan;
import com.lsyw.intergrate.mapper.MassifMapper;
import com.lsyw.intergrate.service.MassifService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 地块 服务实现类
 * </p>
 *
 * @author 刘磊
 * @since 2023-12-13
 */
@Service
public class MassifServiceImpl extends ServiceImpl<MassifMapper, Massif> implements MassifService {

    @Override
    public List<MassifPlan> getAllAlarm() {
        return baseMapper.getAllAlarm();
    }

    @Override
    public List<MassifPlan> getWaterAlarm() {
        return baseMapper.getWaterAlarm();
    }

    @Override
    public List<MassifPlan> getSoilAlarm() {
        return baseMapper.getSoilAlarm();
    }
}
